package com.ruoyi.shop.trade.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.shop.trade.domain.ShopOrderHistory;
import com.ruoyi.shop.trade.mapper.ShopOrderHistoryMapper;
import com.ruoyi.shop.trade.service.IShopOrderHistoryService;

@Service
public class ShopOrderHistoryServiceImpl implements IShopOrderHistoryService{
	
	@Autowired
	private ShopOrderHistoryMapper shopOrderHistoryMapper;

	@Override
	public List<ShopOrderHistory> selectHistoryList(ShopOrderHistory shopOrderHistory) {
		return shopOrderHistoryMapper.selectHistoryList(shopOrderHistory);
	}
	
	@Override
	public List<ShopOrderHistory> selectHistoryByOrderId(Long orderId) {
		return shopOrderHistoryMapper.selectHistoryByOrderId(orderId);
	}
	
	
	

}
